		<section>
			<ul class="breadcrumb">
			  <li><a href="<?php echo base_url('index.php/mainController/'); ?>">Home</a> <span class="divider">/</span></li>
        <li><a href="<?php echo base_url('index.php/borrowingSystemController/manageFile/'); ?>">จัดการแฟ้มสำนวนคดี</a> <span class="divider">/</span></li>
			  <li class="active">แก้ไขแฟ้มสำนวนคดี</li>
			</ul>

      <div class="page-header">
      	<h1>แก้ไขแฟ้มสำนวนคดี</h1>
     	</div>

     	<div>
        <?php echo form_open('borrowingSystemController/editFileCase/'.$rsCaseFile['file_id'],array('class'=>'form-horizontal')); ?>

          <div class="control-group">
            <label class="control-label" for="id">รหัสคดี</label>
            <div class="controls">
              <input type="text" id="case_id" name="case_id" placeholder="รหัสคดี" value="<?php if(isset($rsCaseFile)){ echo iconv('TIS-620', 'UTF-8', $rsCaseFile['file_caseid']); }   ?>">
              <span class="help-inline"><?php echo form_error('case_id'); ?></span>
            </div>
          </div>

          <div class="control-group">
            <label class="control-label" for="code">รายคดี/ชื่อคดี</label>
            <div class="controls">
              <input type="text" id="case_name" name="case_name" placeholder="รายคดี/ชื่อคดี" value="<?php if(isset($rsCaseFile)){ echo iconv('TIS-620', 'UTF-8', $rsCaseFile['file_casename']); }?>">
              <span class="help-inline"><?php echo form_error('case_name'); ?></span>
            </div>
          </div>
          <hr>

          <div class="control-group">
            <label class="control-label" for="code">แฟ้มสำนวนคดีที่</label>
            <div class="controls">
              <input type="text" id="file_number" name="file_number" placeholder="แฟ้มสำนวนคดีที่" value="<?php if(isset($rsCaseFile)){ echo iconv('TIS-620', 'UTF-8', $rsCaseFile['file_number']); }?>">
              <span class="help-inline"><?php echo form_error('file_number'); ?></span>
            </div>
          </div>
          <div class="control-group">
            <label class="control-label" for="filename">ชื่อแฟ้ม</label>
            <div class="controls">
              <input type="text" id="filename" name="filename" placeholder="ชื่อแฟ้ม" value="<?php if(isset($rsCaseFile)){ echo iconv('TIS-620', 'UTF-8', $rsCaseFile['file_name']); }?>">
              <span class="help-inline"><?php echo form_error('filename'); ?></span>
            </div>
          </div>
          <div class="control-group">
            <label class="control-label" for="filename">รายละเอียด</label>
            <div class="controls">
              <input type="text" id="file_casedetail" name="file_casedetail" placeholder="รายละเอียด" value="<?php if(isset($rsCaseFile)){ echo iconv('TIS-620', 'UTF-8', $rsCaseFile['file_casedetail']); }?>">
            </div>
          </div>

          <div class="control-group">
            <div class="controls">
              <a href="<?php echo base_url('index.php/borrowingSystemController/manageFile'); ?>"><input type="button"  name="btnBack" class="btn " value="ย้อนกลับ" onclick=""></a>
              <input id="btnEdit" name="btnEdit" type="submit" class="btn btn-primary" value="แก้ไข">
            </div>
          </div>
        <?php echo form_close(); ?>

     	</div>

    </section>